package com.ophiux.wechat.model.dto;

import com.ophiux.wechat.model.entity.OphiuxProblemOptions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("问题表  --  返回实体")
public class OphiuxProblemAggregationDTO {

	@ApiModelProperty(value="问题id")
	private Integer id;

	@ApiModelProperty(value="使用类型：1-门诊；2-住院；")
	private Integer useType;

	@ApiModelProperty(value="问题类型：1-单选；2-多选；3-简答题；")
	private Integer problemType;

	@ApiModelProperty(value="问题标题")
	private String problemTitle;

	@ApiModelProperty(value="排序字段")
	private Integer sort;

	@ApiModelProperty("状态：0-禁用；1-启用；")
	private Integer status;

	@ApiModelProperty("是否必填：0-否；1-是；")
	private Integer isRequired;

	@ApiModelProperty("答案选项列表")
	private List<OphiuxProblemOptions> optionsDTOList;

}
